import os
import platform

# Finding files in a directory
for file in os.listdir("/dev"):
    if "tty.usb" in file.lower():
        print os.path.join("/dev", file)

# Finding out which OS
print os.name

print platform.system()
